//
//  MineModel.swift
//  TianTianBiTing
//
//  Created by Gox mac 2 on 2019/1/3.
//  Copyright © 2019 Gox_WallyDiao. All rights reserved.
//

import UIKit
import HandyJSON

struct ExchangeRateModel: HandyJSON {
    var iosParam: String?
    var cnyCoin: NSNumber = 0.0
    var tingCoin: NSNumber = 0.0
    var sellWell: Bool = false
    var hasDiscount: Bool = false
    var discountValue: NSNumber = 0.0
}

struct WalletBalanceModel: HandyJSON {
    var balance: NSNumber = 0.0
    var id: Int = 0
    var commission: NSNumber = 0.0
}

struct PkgRecordModel: HandyJSON {
    var balance: NSNumber = 0.0
    var amount: Int = 0
    var everyPrice: NSNumber = 0.0
    var id: Int = 0
    var programId: Int = 0
    var payStatus: Int = 0
    var type: Int = 0
    var userId: Int = 0
    var createTimeStr:String?
    var createtime:String?
    var title:String?
    var updateTimeStr:String?
    var updatetime:String?
    var wxNickname:String?
}

struct UserInfoModel: HandyJSON {
    var androidOpenId: String?
    var balance:NSNumber = 0.0
    var bandMobile:Int = 0
    var channel: String?
    var commission: NSNumber = 0.0
    var createTimeStr:String?
    var createtime:String?
    var disPrice: NSNumber = 0.0
    var followOfficialNum: Int = 0
    var followWXNum:Int = 0
    var gzhOpenid:String?
    var id: Int = 0
    var iosOpenid: String?
    var jpushId:String?
    var name:String?
    var platSource: String?
    var platform: Int = 0
    var rewardBalance:NSNumber = 0.0
    var shareUserId:Int = 0
    var signIn: Int = 0
    var signInTime:String?
    var updatetime:String?
    var verCode: String?
    var vip: Int = 0
    var wxAvatarUrl:String?
    var wxCity:String?
    var wxEncryptedData: String?
    var wxGender: String?
    var wxIv:String?
    var wxNickname:String?
    var wxOpenId: String?
    var wxProvince:String?
    var wxUnionId: String?
}

struct NewsModel: HandyJSON {
    var title:String?
    var content: String?
    var linkUrl:String?
    var imageUrl: String?
    var createTimeStr: String?
    var flg: Int = 0
    var type: Int = 0
    var status: Int = 0
    var sysMsgType: Int = 0
    var dataType: Int = 0
    var programId:Int = 0
}
